<% if @cultural_heritage_cultural_heritages.size > 0 %>

  <br></br>
  <table class="paginated_table sorted_table" id="cultural_heritage_transfer_form_table">
    <thead>
      <tr>
        <th>Código</th>
        <th>Patrimonio</th>
        <th>Estado</th>
        <th>Acciones</th>
      </tr>
    </thead>
    <tbody>
    <% @cultural_heritage_cultural_heritages.each do |cultural_heritage_cultural_heritage| %>
      
      <tr>
          <td><%= cultural_heritage_cultural_heritage.nationalRegistrationCode %></td>
          <td><%= cultural_heritage_cultural_heritage.name %></td>
          <td><%= cultural_heritage_cultural_heritage.str_state %></td>
          <td>
            <input type="checkbox" name="lheritage[]" value="<%=cultural_heritage_cultural_heritage.id%>" id="<%=cultural_heritage_cultural_heritage.id%>"/>
          </td>
        </tr>
      
    <% end %>
        </tbody>
  </table>
<% else %>
  <p>Ningun Patrimonio Cultural Encontrado</p>
<% end %>